{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block page_content %}
    <h3>文章创作于{{ user.username }}</h3>
    {% include '_posts.html' %}
    {% if pagination %}
    <div class="pagination">
    {{ macros.pagination_widget(pagination, '.user', username=user.username) }}
    </div>
    {% endif %}

{% endblock %}